<template>
  <div class="car-container">
    <img :src="imgSrc" alt="">
    <div style="font-size: 30px;text-align: center">{{title}}</div>
  </div>
</template>

<script>
export default {
  name: 'Card',
  props:['imgSrc','title']
};
</script>

<style lang="less" scoped>
.car-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: url("../assets/image/bg_white.png") no-repeat;
  background-size: contain;
  width: 332px;
  height: 286px;
  img {
    margin: 80px 0 30px 0;
  }
}
</style>
